<<<<<<< HEAD
<template>
    <div>
        <!--用户管理-->
        <van-row>
            <Hearders />
            <van-col span="4">
                <Left />
            </van-col>
            <van-col span="4">

                <Mycomany @code="codevalue" />
                
            </van-col>
            <van-col span="14" style="padding-top: 10px ;">
                账号:<input type="text" placeholder="请输入账号">
                姓名:<input type="text" placeholder="请输入姓名">
                手机号:<input type="text" placeholder="请输入手机号">&ensp;
                <button>查询</button>&ensp;&ensp;
                <button>重置</button>
                <br>
                <button>新增</button>&ensp;&ensp;
                <button>删除</button>&ensp;&ensp;
                <van-uploader :after-read="afterRead"  >
                    <button>导入</button>
                </van-uploader>&ensp;&ensp;
                <button @click="daochu">导出</button>&ensp;&ensp;
                <button>冻结</button>&ensp;&ensp;
                <button>解冻</button>&ensp;&ensp;
                <button>回收站</button>&ensp;&ensp;
                <br>
                <table border="1px" style="width: 1000px;">
                    <tr>
                        <td>
                            <input type="checkbox">
                        </td>
                        <td>账号</td>
                        <td>姓名</td>
                        <td>性别</td>
                        <td>手机号</td>
                        <td>邮箱</td>
                        <td>工号</td>
                        <td>状态</td>
                        <td>操作</td>
                    </tr>
                    <tr v-for="i in getuserlist" :key="i.id">
                        <td>
                            <input type="checkbox"  :value="i.id">
                        </td>
                        <td>{{}}</td>
                        <td>{{i.name}}</td>
                        <td>{{i.garden}}</td>
                        <td>{{i.mobile}}</td>
                        <td>{{i.email}}</td>
                        <td>{{i.jobnum}}</td>
                        <td>{{i.status}}</td>
                        <td></td>
                    </tr>
                </table>

            </van-col>
            </van-row>


    </div>
</template>

<script>
import Hearders from '../comm/hearders'
import Mycomany from '../comm/mycomany'
import Left from '../comm/left.vue'
//分装
import axios from '../../http/axios'
//导出

    export default {
        components: { Hearders ,Left, Mycomany}, 
        data() {
            return {
                getuserlist:[],
            }
        },
        methods: {
             //获取用户管理数据
                getusers(){
                    axios('/comany/getuser/','get').then(res=>{
                        console.log(res)
                        this.getuserlist = res.list
                    }).catch(res=>{
                        console.log('没有进来')
                    })
                },
        },
        mounted() {
            this.getusers()
        },
    }
</script>

<style scoped>

=======
<template>
    <div>
        <!--用户管理-->
        <van-row>
            <Hearders />
            <van-col span="4">
                <Left />
            </van-col>
            <van-col span="4">

                <Mycomany @code="codevalue" />
                
            </van-col>
            <van-col span="14" style="padding-top: 10px ;">
                账号:<input type="text" placeholder="请输入账号">
                姓名:<input type="text" placeholder="请输入姓名">
                手机号:<input type="text" placeholder="请输入手机号">&ensp;
                <button>查询</button>&ensp;&ensp;
                <button>重置</button>
                <br>
                <button>新增</button>&ensp;&ensp;
                <button>删除</button>&ensp;&ensp;
                <van-uploader :after-read="afterRead"  >
                    <button>导入</button>
                </van-uploader>&ensp;&ensp;
                <button @click="daochu">导出</button>&ensp;&ensp;
                <button>冻结</button>&ensp;&ensp;
                <button>解冻</button>&ensp;&ensp;
                <button>回收站</button>&ensp;&ensp;
                <br>
                <table border="1px" style="width: 1000px;">
                    <tr>
                        <td>
                            <input type="checkbox">
                        </td>
                        <td>账号</td>
                        <td>姓名</td>
                        <td>性别</td>
                        <td>手机号</td>
                        <td>邮箱</td>
                        <td>工号</td>
                        <td>状态</td>
                        <td>操作</td>
                    </tr>
                    <tr v-for="i in getuserlist" :key="i.id">
                        <td>
                            <input type="checkbox"  :value="i.id">
                        </td>
                        <td>{{}}</td>
                        <td>{{i.name}}</td>
                        <td>{{i.garden}}</td>
                        <td>{{i.mobile}}</td>
                        <td>{{i.email}}</td>
                        <td>{{i.jobnum}}</td>
                        <td>{{i.status}}</td>
                        <td></td>
                    </tr>
                </table>

            </van-col>
            </van-row>


    </div>
</template>

<script>
import Hearders from '../comm/hearders'
import Mycomany from '../comm/mycomany'
import Left from '../comm/left.vue'
//分装
import axios from '../../http/axios'
//导出

    export default {
        components: { Hearders ,Left, Mycomany}, 
        data() {
            return {
                getuserlist:[],
            }
        },
        methods: {
             //获取用户管理数据
                getusers(){
                    axios('/comany/getuser/','get').then(res=>{
                        console.log(res)
                        this.getuserlist = res.list
                    }).catch(res=>{
                        console.log('没有进来')
                    })
                },
        },
        mounted() {
            this.getusers()
        },
    }
</script>

<style scoped>

>>>>>>> f005cb9ce1180a75de9e3b50835909deb51b65fb
</style>